package com.qst.rongxiaotong.service;

import com.github.pagehelper.PageInfo;
import com.qst.rongxiaotong.pojo.DTO.UserDTO;
import com.qst.rongxiaotong.pojo.User;

/**
 * @author Ww
 * @version v1.0
 * @interfaceName UserService
 * @description
 * @date 2024/10/25 15:52
 **/
public interface UserService {
    User finduser();

    void update(User user);//admin修改用户

    void delete(String userName);//admin删除用户

    User selectByUserName(String userName);//根据用户名查询

    PageInfo<User> findPage(Integer pageNum);//分页显示所有用户

    User login(UserDTO userDTO);


}
